Support physical CPU hot-add in xen hypervisor
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Nov 2009 11:43:21 +0000 (11:43 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Nov 2009 11:43:21 +0000 (11:43 +0000)
commitc1100c28edad0c4494bba80f7b2da1f573d28d44
tree7b9f3008aa467e64ed8ed5f7c8f3a33624a8a30c
parentf4cf0d5e8825b258de4964c615dbbfdae85d0b03
Support physical CPU hot-add in xen hypervisor

This patch add CPU hot-add in system.
a) It mark all CPU as possible when booting, if CONFIG_HOTPLUG_CPU is
set. BTW, this will increase per_cpu area.

b) When a CPU is added through hypercall, the CPU will be marked as
present and offline, and the numa information is setup if numa is
supported. The CPU will be brought to online by dom0 online explicitly.

Signed-off-by: Jiang, Yunhong <yunhong.jiang@intel.com>
xen/arch/x86/acpi/boot.c
xen/arch/x86/mpparse.c
xen/arch/x86/numa.c
xen/arch/x86/platform_hypercall.c
xen/arch/x86/setup.c
xen/arch/x86/smpboot.c
xen/arch/x86/srat.c
xen/include/asm-x86/acpi.h
xen/include/asm-x86/numa.h
xen/include/asm-x86/smp.h
xen/include/public/platform.h